<?php defined('IN_NWIDC') or exit('Access Invalid!');?>
<?php // echo getChat($layout);?>
<script>
  $(function(){
    var icon = ['icon-random','icon-money','icon-plane','icon-heart','icon-group','icon-tag','icon-phone'];
    $('#faq dt').each(function(index){
      $(this).prepend('<span><i class="'+icon[index]+'"></i></span>');
    });
  })
</script>
<style>
    #faq{
        display: none;
    }
  #faq ul li dt{
    font-family: '黑体' !important;
    font-size : 15px;
    color: #808080;
  }
  #faq ul li a{
    font-family: '黑体' !important;
    font-size : 12px;
    color: #808080;
  }
  #faq dl dd i{
    display: none;
  }
  #faq ul li{
    text-align: center;
  }
</style>
<div id="faq">
  <div class="wrapper" style='width:1090px'>
    <?php if(is_array($output['article_list']) && !empty($output['article_list'])){ ?><ul>
    <?php foreach ($output['article_list'] as $k=> $article_class){ ?>
    <?php if(!empty($article_class)){ ?>
   <li> <dl class="s<?php echo ''.$k+1;?>">
      <dt>
        <?php if(is_array($article_class['class'])) echo $article_class['class']['ac_name'];?>
      </dt>
      <?php if(is_array($article_class['list']) && !empty($article_class['list'])){ ?>
      <?php foreach ($article_class['list'] as $article){ ?>
      <dd><i></i><a href="<?php if($article['article_url'] != '')echo $article['article_url'];else echo urlShop('article', 'show',array('article_id'=> $article['article_id']));?>" title="<?php echo $article['article_title']; ?>"> <?php echo $article['article_title'];?> </a></dd>
      <?php }?>
      <?php }?>
    </dl></li>

    <?php }?>
    <?php }?></ul>
    <?php }?>
  </div>
</div>


<?php
if($_GET['act'] != 'seller_center' && strpos($_GET['act'],'store_')!==0){
    include(templet('index','footer'));
}
?>


<div id="footer" class="wrapper">
  <p class="footer_link"><a href="<?php echo WEB_DOMAIN;?>"><?php echo $lang['nc_index'];?></a>
    <?php if(!empty($output['nav_list']) && is_array($output['nav_list'])){?>
    <?php foreach($output['nav_list'] as $nav){?>
    <?php if($nav['nav_location'] == '2'){?>
    | <a  <?php if($nav['nav_new_open']){?>target="_blank" <?php }?>href="<?php switch($nav['nav_type']){
    	case '0':echo $nav['nav_url'];break;
    	case '1':echo urlShop('search', 'index', array('cate_id'=>$nav['item_id']));break;
    	case '2':echo urlShop('article', 'article',array('ac_id'=>$nav['item_id']));break;
    	case '3':echo urlShop('activity', 'index',array('activity_id'=>$nav['item_id']));break;
    }?>"><?php echo $nav['nav_title'];?></a>
    <?php }?>
    <?php }?>
    <?php }?>
  </p>
    <div>
    <a href="http://www.miitbeian.gov.cn/">
        <?php

        $m = Model('setting');
        $config = $m->getListSetting();
        echo html_entity_decode($config['icp_number'],ENT_QUOTES);

        ?>
    </a></div>
    <script id='ebsgovicon' src='http://szcert.ebs.org.cn/govicon.js?id=c0276655-2862-43a3-a994-49c48031f670&width=50&height=68&type=1

' type='text/javascript' charset='utf-8'></script>
</div>
<?php
   echo html_entity_decode($config['statistics_code']);
?>
<?php if (C('debug') == 1){?>
<div id="think_page_trace" class="trace">
  <fieldset id="querybox">
    <legend><?php echo $lang['nc_debug_trace_title'];?></legend>
    <div> <?php print_r(Tpl::showTrace());?> </div>
  </fieldset>
</div>
<?php }?>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/jquery.cookie.js"></script>
<link href="<?php echo RESOURCE_SITE_URL;?>/js/perfect-scrollbar.min.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/qtip/jquery.qtip.min.js"></script>
<link href="<?php echo RESOURCE_SITE_URL;?>/js/qtip/jquery.qtip.min.css" rel="stylesheet" type="text/css">
<!-- 对比 -->
<script src="<?php echo SHOP_RESOURCE_SITE_URL;?>/js/compare.js"></script>
<script type="text/javascript">
$(function(){
	// Membership card
	$('[nctype="mcard"]').membershipCard({type:'shop'});
});
</script>


